package com.system.oauthserver.mapper;

import com.system.commonutils.bean.SecendMenu;
import com.system.commonutils.pojo.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper {

    List<Role> selectRoleList();

    List<SecendMenu> selectMenuByRoleId(Integer roleId);

}
